﻿using System;
using System.Web.Security;

namespace RealEstate
{
    public partial class Site : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if(!Roles.IsUserInRole("admin"))
            {
                NavigationMenu.Visible = false;
            }
        }
    }
}